<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>复制元素</title>
  <script src="js/jquery/jquery-3.3.1.min.js"></script>
  <style>
    div{
      width: 300px;
      height: 300px;
      border: 1px solid lightgray;
      margin: 50px;
      float: left;
    }
    img{
      width: 100%;
      height: 100%;

    }
  </style>
  <script>
    $(function (){
      $("button").click(function (){
        var img=$("img:first").clone();

        $("#div2").append(img);
      });
    });
  </script>
</head>
<body>
<div id="div1">
  <img src="img/1molihua.png"/>
</div>
<div id="div2">

</div>
<button>复制图片</button>
</body>
</html>